import request from '@/utils/request'

// 查询倒垛费列表
export function listStacktransfer(query) {
  return request({
    url: '/fees/stacktransfer/list',
    method: 'get',
    params: query
  })
}

// 查询倒垛费详细
export function getStacktransfer(stackTransferFeeId) {
  return request({
    url: '/fees/stacktransfer/' + stackTransferFeeId,
    method: 'get'
  })
}

// 新增倒垛费
export function addStacktransfer(data) {
  return request({
    url: '/fees/stacktransfer',
    method: 'post',
    data: data
  })
}

// 修改倒垛费
export function updateStacktransfer(data) {
  return request({
    url: '/fees/stacktransfer',
    method: 'put',
    data: data
  })
}

// 删除倒垛费
export function delStacktransfer(stackTransferFeeId) {
  return request({
    url: '/fees/stacktransfer/' + stackTransferFeeId,
    method: 'delete'
  })
}
